body{
    background: rgb(239, 239, 239);
    margin: 0;
}
* {
    margin: 0;
    padding: 0;
}
main{
    margin-top: -350px;
}
ul,ol{
    list-style: none;/* 没有样式 */
}
h1, h2, h3, h4 {
    font-weight: normal;
}
.clearfix::after{
    content: '';
    display: block;
    clear: both;
    }
a{
    color: inherit;
    text-decoration: none;
}
.topNavBar{
    padding: 28px 0px 28px 0px;
    position:fixed;
    top:0;
    left:0;
    width: 100%;
}
.topnavbar-inner{
    padding: 0 16px;
}
.topNavBar .logo{
    font-size: 26px;
    font-weight: bolder;
}
.topNavBar nav{
list-style: none; 

float: right;
}
.topNavBar a{
    float: left;
}

.topNavBar nav>a{
    font-size: 18px;
    color: #b7b7b7;
   
   font-weight: bold;
   margin-left: 17px;
    margin-right: 17px;
border-bottom: 4px solid transparent;
padding-bottom: 5px;
padding-top: 5px;
  
}
.topNavBar nav>a:hover{
    border-bottom: 4px solid rgb(224,101,103);
}
.rs{
    margin-right: 4px;
    color: rgb(230,104,106);
}
.card{
   color: rgb(154, 157, 162)
}
.banner{
    height: 515px;
    background-image: url(./img/wallhaven5.jpg);
    background-position: center;
    background-size:cover ;
}
.banner .mask{
    height: 515px;
    background-color:rgba(0, 0, 0, 0.4)
}
.usercard{
    
    max-width: 940px;/* 最大宽度 */
    margin-left:auto;
    margin-right:auto;
    background-color: rgb(255, 255, 255);
}
.usercard .welcome{
    background: rgb(230, 104, 106);
    color: white;
    display: inline-block;
    padding: 4px 16px;
    line-height: 22px;
    position:relative;
    margin-bottom: 10px;
}
.usercard .picture{
    float: left;
}
.usercard .text{
    float: left;
    margin-left: 65px;
    width: 470px;
}
.usercard .welcome .triangle{
    display: block;
    width: 0;
    border-width:0px 12px 12px ;
    border-style: solid;
    border-color: transparent transparent transparent rgb(230, 104, 106);
    position:absolute;
    left: 7px;
    top: 100%;
}
.usercard{
    /* padding: 50px ; */
    box-shadow: 0px 8px 20px -7px rgba(184,184,184,1);
}
.usercard .text h1{
    margin-top: 18px;
}
.usercard .text hr{
    margin: 20px 0px;
}
.usercard dl dt,
.usercard dl dd{
    float: left;
    padding: 10px 0px;
}
.usercard dl dt{
    width: 40%;
    font-weight: bold;
    
}
.usercard dl dd{
    width: 60%;
    color: #9da0a7;
   
}
.usercard .pictureAndText {
    padding: 50px;
  }
.usercard > footer.media > a:hover{
    background: #CF5D5F;
  }
.usercard svg{
    width: 40px;
    height: 40px; 
    fill: white;
    vertical-align: top;
}
.usercard > footer.media > a{
  display: inline-block;
  width: 60px;/* 图标间宽度 */
  line-height: 40px;
  padding: 10px 0;
  border-radius: 50%;/* 给图标加外圆边框 */
  margin: 12px;
  
  
}
.usercard > footer.media{
    background: #E6686A;
    text-align: center;
    
  }
main>p> a{
     font-size: 18px;/*字的大小 */
    color: #3d4451;    /* 字的颜色 */
    border-radius: 4px; /* 给字加圆角 */
    padding: 21px 55px;
    line-height: 20px;
    display: inline-block;
    border: 1px solid rgb(205, 207, 209);/*边框的颜色 */
    font-weight: bold;/*字加粗 */
    margin: 32px 0;

}
main>p> a:hover{
    transition: box-shadow 0.2s;    /*给阴影加动画 */
     box-shadow: 0px 8px 14px -3px rgba(184,184,184,1); /*给框加阴影 */
}
.self-introduction{
    max-width: 940px;
    margin-left:auto;
    margin-right:auto;
    text-align: center;/* 字居中 */
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;/* 字体 */
    line-height: 2.0;/* 上下行间隙 */
    font-size: 18px;
}
section {
    max-width: 940px;
    margin-left:auto;
    margin-right:auto;
    margin-top: 60px;
}
section >h2{
    text-align: center;/* 字居中 */
    color: #3d4451;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
}
section >ol{
    background: white;
    box-shadow: 0px 7px 16px -4px rgba(64,64,64,1);
    padding: 42px 50px 10px ;
    margin-top: 30px;
}
section >ol>li{
    float: left;
    width: 48%;
    box-sizing: border-box;
}
section >ol>li:nth-child(even){
    float:right;
}
section >ol>li .progressbar {
    height: 7px;
    background:rgb(250, 225, 225);
    border-radius: 3px;
    margin: 0px 0 38px;
}
section >ol .progressbar> .progress{
    height: 100%;
    background:#E6686A;
    width: 30%;
    border-radius: 3px;
    
}
section >ol>li>h3{
    font-size: 14px;
    line-height: 1.1;
    padding-right: 40px;
    padding-bottom: 10px;
}
section nav{
    text-align: center;
    display: inline-block;
    vertical-align: top;
}
section.zuopingji{
    text-align: center;
}
section nav ol li{
    float: left;
    margin-top: 40px; 
    margin-left: 40px;
    
}
section nav ol {
    display: inline-block;
    vertical-align: top;
    cursor: pointer;/* 横杠变成鼠标 */
    
}
section nav ol li:nth-child(1){
    margin-left: 0;
}
section nav .bar{
    
    height: 7px;
    background:white;
    border-radius: 3px;/* 圆角边框 */
    margin: 15px 0 38px;
}
section nav .bar-innre{
    height: 100%;
    background:#E6686A;
    border-radius: 3px;
    transition: all 0.3s;/* 加动画 */
}
section >nav .bar.state-1 .bar-innre{
    margin-left: 0px;
    width: 36px;
}
section >nav .bar.state-2 .bar-innre{
    margin-left: 73px;
    width: 38px;
}
section >nav .bar.state-3 .bar-innre{
    margin-left: 149px;
    width: 94px;
}
section .works{
    position: relative;
    
    height: 597px;
    margin-bottom: 100px;
}
section .works .big,
section .works .small{
position: absolute;
}/* 绝对定位 */